package cn.tgq007.lock.http;

import cn.tgq007.lock.entity.RestResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "tt-generator")
public interface GeneratorFeign {
    @GetMapping("/generator/code")
    RestResult<Long> generateId();
}
